/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="MEDICOCONVENIO")
public class MedicoConvenioProteu implements Serializable{

    @Id
    @Column(name="MDC_IN_CODIGO")
    private Integer mdcInCodigo;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="MDC_ST_COD_CONV")
    private String mdcStCodConv;
    @Column(name="MED_CH_BLOQUEADO")
    private String medChBloqueado;
    @Column(name="MED_ST_COD")
    private String medStCod;


    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public Integer getMdcInCodigo() {
        return mdcInCodigo;
    }

    public void setMdcInCodigo(Integer mdcInCodigo) {
        this.mdcInCodigo = mdcInCodigo;
    }

    public String getMdcStCodConv() {
        return mdcStCodConv;
    }

    public void setMdcStCodConv(String mdcStCodConv) {
        this.mdcStCodConv = mdcStCodConv;
    }

    public String getMedChBloqueado() {
        return medChBloqueado;
    }

    public void setMedChBloqueado(String medChBloqueado) {
        this.medChBloqueado = medChBloqueado;
    }

    public String getMedStCod() {
        return medStCod;
    }

    public void setMedStCod(String medStCod) {
        this.medStCod = medStCod;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final MedicoConvenioProteu other = (MedicoConvenioProteu) obj;
        if (this.mdcInCodigo != other.mdcInCodigo && (this.mdcInCodigo == null || !this.mdcInCodigo.equals(other.mdcInCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 37 * hash + (this.mdcInCodigo != null ? this.mdcInCodigo.hashCode() : 0);
        return hash;
    }


}
